#pragma once
#include<stdio.h>
#include<stdlib.h>
#include<assert.h>

#define MAXSIZE 100
typedef int ElemType;
typedef struct {
	ElemType* elem;
	int lenght;
}SqList;

int InitList(SqList* L);
void PrintList(SqList* L);
int ListInsert_Sq(SqList* L, int i, ElemType e);
int ListDelete_Sq(SqList* L, int i, ElemType* e);
int Location_Sq(SqList* L, ElemType e);
void ReverseList(SqList* L);
int MergeList(SqList La, SqList Lb, SqList* Lc);